<?php echo $form->startForm();?>
<?php echo $form->showMessageOther('registrado');?>
<br/>
<center>
<fieldset style="width:670px;">
    <legend><h2>Nuevo Producto</h2></legend>
            <table width="670">
                <tr>
                    <td colspan="4" align="right"><?php echo $link_back->show();?></td>
                </tr>
                <tr>
                    <td><?php echo $code_label->show();?></td>
                    <td><?php echo $code_entry->show();?></td>
                    <td></td>
                    <td></td>
                </tr>
                <tr>
                    <td colspan="2"><?php echo $form->showMessageError('code');?></td>
                    <td colspan="2"></td>
                </tr>
                <tr>
                    <td valign="top"><?php echo $short_description_label->show();?></td>
                    <td valign="top"><?php echo $short_description_entry->show();?></td>
                    <td valign="top"><?php echo $long_description_label->show();?></td>
                    <td valign="top"><?php echo $long_description_text->show();?></td>
                </tr>
                <tr>
                    <td colspan="2"><?php echo $form->showMessageError('short_description');?></td>
                    <td colspan="2"><?php echo $form->showMessageError('long_description');?></td>
                </tr>
                <tr>
                    <td><?php echo $id_category_label->show();?></td>
                    <td><?php echo $id_category_text->show();?></td>
                    <td></td>
                    <td></td>
                </tr>
                <tr>
                    <td colspan="2"><?php echo $form->showMessageError('id_category');?></td>
                    <td colspan="2"></td>
                </tr>
            </table>
    <br/>
    <br/>
    <fieldset>
        <legend><h3>Inventario</h3></legend>
        <table width="650">
            <tr>
                <td><?php echo $amount_label->show();?></td>
                <td><?php echo $amount_entry->show();?></td>
                <td><?php echo $price_label->show();?></td>
                <td><?php echo $price_entry->show();?></td>
            </tr>
            <tr>
                <td colspan="2"><?php echo $form->showMessageError('amount');?></td>
                <td colspan="2"><?php echo $form->showMessageError('price');?></td>
            </tr>
        </table>
    </fieldset>
    <br/>
            <table width="670">
                <tr>
                    <td align="right"><?php echo $button_reset->show();?>&nbsp;<?php echo $button_entrar->show(); ?></td>
                </tr>
            </table>
</fieldset>    
</center>
<?php echo $form->endForm();?>